added support for testing from static file