Added Apache license to test class