Adding tests for checking if flash is enabled