implementation of test fragment