[PATCH 23/28] bootmethod: Add tests for bootmethod and bootflow