writing tests for specific flash classes