start of breaking out test code for ease of checks