refactor and added tests for uncompiled files should not be served
Working specs