Code for testing with minimum code