support running spec from source file