Compiling test finnished

Added TestResources, minor cleanups