Fixed mocking

Fixed src/test/CMakeLists.txt by enabling automatially mocking objects.
This resolved build issue with unability to find MainWindowSampleTest.moc
file.